package com.my.coolq.strategy.request.model;

import java.io.Serializable;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.serializer.SerializerFeature;
/**
 * 加好友请求
 * @author ch
 *
 */
public class AddFriendRequest implements Serializable{
	

	/**
	 * 
	 */
	private static final long serialVersionUID = -8564298422741470550L;

	/**
	 * 上报类型
	 */
	private String post_type;
	
	/**
	 * 请求类型
	 */
	private String request_type;
	
	/**
	 * 发送请求的 QQ 号
	 */
	private Long user_id;
	
	/**
	 * 验证信息
	 */
	private String message;
	
	/**
	 * 请求 flag，在调用处理请求的 API 时需要传入
	 */
	private String flag;
	
	
	public String getPost_type() {
		return post_type;
	}



	public void setPost_type(String post_type) {
		this.post_type = post_type;
	}

	public String getRequest_type() {
		return request_type;
	}



	public void setRequest_type(String request_type) {
		this.request_type = request_type;
	}



	public Long getUser_id() {
		return user_id;
	}



	public void setUser_id(Long user_id) {
		this.user_id = user_id;
	}

	

	public String getMessage() {
		return message;
	}



	public void setMessage(String message) {
		this.message = message;
	}



	public String getFlag() {
		return flag;
	}



	public void setFlag(String flag) {
		this.flag = flag;
	}



	@Override
	public String toString() {
		return JSON.toJSONString(this, SerializerFeature.UseISO8601DateFormat);
	}

}
